package com.chinasoft.tw.service.zxy;

import com.chinasoft.tw.pojo.Info;
import com.chinasoft.tw.service.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class StudentZxy implements TrueWord {
    String name;
    List<String> wordList = new ArrayList<>();
    Random random = new Random();

    public StudentZxy() {
        this.name = "赵芯誉";
        wordList.add("22325022021 ！ ！");
        wordList.add("11111111");
    }
    @Override
    public Info getTrueWord() {
        Info info = new Info(name, wordList.get(random.nextInt(wordList.size())));
        return info;
    }
}
